package com.meitianhui.convenitenbuy.module.store.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.meitianhui.convenitenbuy.R;
import com.meitianhui.convenitenbuy.module.store.model.StoreType;

import java.util.List;

/**
 * Created by Administrator on 2017/11/22.
 */

public class StorePopAdapter extends BaseQuickAdapter<StoreType,BaseViewHolder>{
    public StorePopAdapter( @Nullable List<StoreType> data) {
        super(R.layout.item_store_pop, data);
    }
    @Override
    protected void convert(BaseViewHolder helper, StoreType item) {

        helper.setText(R.id.tv_content,item.getContent());

    }
}
